﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="AddOrganization.ascx.vb"
    Inherits="WebForm_ManageOrganization_AddOrganization" %>
<%--<asp:Panel ID="panel1" runat="server" BackColor="white" BorderWidth="1" SkinID="DragPanel" Width="400">
    <br />
    <div align="center">
        <asp:Label ID="lblForm" runat="server" meta:resourcekey="Page" SkinID="title" ForeColor="#408080"></asp:Label>
    </div>
    <br />--%>
<asp:FormView ID="fv" runat="server" DefaultMode="ReadOnly">
    <ItemTemplate>
        <table>
            <tr>
                <td align="right">
                    <asp:Label ID="lblOrganizationName" runat="server" meta:resourcekey="lblOrganizationName"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtOrganizationName" runat="server" Text='<%#Bind("OrganizationName") %>'></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblEmail" runat="server" meta:resourcekey="lblEmail"></asp:Label>
                </td>
                <td align="left">
                    <asp:TextBox ID="txtEmail" Text='<%#Bind("Email") %>' MaxLength="100" Width="350px" runat="server"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
                        Display="None" meta:resourcekey="ErrorEmail" SetFocusOnError="True" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                        ValidationGroup="vInsert"></asp:RegularExpressionValidator>
                </td>
            </tr>
            <tr>
                <td align="right">
                    <asp:Label ID="lblActive" runat="server" meta:resourcekey="lblActive"></asp:Label>
                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlActive" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">
<%--                    <asp:Label ID="lblInternal" runat="server" meta:resourcekey="lblInternal"></asp:Label>
--%>                </td>
                <td align="left">
                    <asp:DropDownList ID="ddlInternal" Visible="false" runat="server">
                        <asp:ListItem Value="Y">是</asp:ListItem>
                        <asp:ListItem Value="N">否</asp:ListItem>
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td align="right">
                </td>
                <td align="left">
                    <asp:ImageButton ID="btnAdd" ValidationGroup="vInsert" ImageUrl="~/images/image/but_06.jpg" CommandName="btnSave" runat="server" />
                    <ajaxToolkit:ConfirmButtonExtender ID="cbSave" runat="server" TargetControlID="btnAdd" meta:resourcekey="cbSave"></ajaxToolkit:ConfirmButtonExtender>
                    <asp:ImageButton ID="btnOK" ImageUrl="~/images/image/but_20.jpg" runat="server" />
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
                    ShowSummary="False" ValidationGroup="vInsert" />
                </td>
            </tr>
        </table>
    </ItemTemplate>
</asp:FormView>
<br />
<%--</asp:Panel>
<asp:Button ID="btnDummy" runat="server" Style="display: none" />
<ajaxToolkit:ModalPopupExtender ID="mpSearch" runat="server" TargetControlID="btnDummy"
    PopupControlID="panel1" OkControlID="btnOK" PopupDragHandleControlID="panel1" />
--%>
